package org.jeecg.tender.project.dto.util;

import org.jeecg.tender.information.entity.TenderInformation;
import org.jeecg.tender.project.dto.req.SendProjectNoticeReqDto;
import org.springframework.beans.BeanUtils;

public class SendProjectNoticeUtil {

    public static SendProjectNoticeReqDto buildSendProjectNoticeReqDto(Long labelId, TenderInformation info) {
        SendProjectNoticeReqDto reqDto = new SendProjectNoticeReqDto();
        BeanUtils.copyProperties(info, reqDto);
        reqDto.setLabelId(labelId);
        return reqDto;
    }

}
